Leetcode 1291 : Sequential Digits